using Newtonsoft.Json;

namespace Betfair.Api
{
    public sealed class Country
    {
        public Country(string code, int marketCount)
        {
            Code = code;
            MarketCount = marketCount;
        }

        [JsonProperty("countryCode")]
        public string Code { get; private set; }

        public int MarketCount { get; private set; }
    }
}